package cn.shuo.app.db.ext;

import cn.shuo.app.db.mapper.ACommentMapper;
import cn.shuo.app.db.model.AComment;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ACommentExtMapper extends ACommentMapper {

    @Select("select * from comment where parent_id = #{parentId}#  order by id desc")
    List<AComment> selectList(int parentId);
}
